Skip to content

Fix Android connect crash (v1.1.7)#1

Merged
drmikecrypto merged 1 commit into
mainfrom
fix/android-connect-v1.1.7
Jun 28, 2026
Merged

Fix Android connect crash (v1.1.7)#1
drmikecrypto merged 1 commit into
mainfrom
fix/android-connect-v1.1.7

Conversation

@drmikecrypto

Copy link
Copy Markdown
Owner

Summary

  • Fixes Android Connect force-close on Samsung Galaxy M21 and similar devices by starting Xray via Java ProcessBuilder instead of System.Diagnostics.Process.
  • Adds ICoreProcessHost with Android and desktop implementations; proxy and latency paths use the correct launcher per platform.
  • Marshals mobile status/busy updates to the UI thread after async connect steps.

Test plan

  • Install v2rayF-android-arm64.apk from the v1.1.7 release on Galaxy M21 (Android 12)
  • Tap Connect with a Compat VLESS link — app stays open (error message if server fails, not a crash)
  • Failed connect tears down VPN; normal internet works
  • Desktop connect and latency test still work on Windows/Linux/macOS

Replace System.Diagnostics.Process on Android with a native process host so Connect no longer force-closes on Samsung and similar devices; marshal mobile UI updates to the main thread and surface startup errors in-app.
@drmikecrypto drmikecrypto merged commit 00aa6ca into main Jun 28, 2026
2 checks passed
@drmikecrypto drmikecrypto deleted the fix/android-connect-v1.1.7 branch June 28, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant